﻿import flash.external.*

//自动缩放背景大小
function txt_complete(obj:Object)
{
	//ExternalInterface.call("t_tools_plane.btn_complete", obj.textHeight, obj.textWidth);
}
txt_tips.txt_title.addEventListener("complete", this, "txt_complete");

function clear_title()
{
	txt_title.clearText()
}

my_fmt = new TextFormat();
my_fmt.bold = true;
my_fmt.font = "黑体";
my_fmt.size = 18;

function add_text(txt:String)
{
	txt_title.appendText(txt, my_fmt)
	//txt_jump._visible = false
}

function set_title(txt:String)
{
	txt_title.setText("#s16"+txt, "黑体");
}

imgbg.onRelease = jump_stroy;
function jump_stroy()
{
	ExternalInterface.call("ui_stroy.jump_stroy");
}
